package com.esyoga.yoyoga.mapper;

import com.esyoga.yoyoga.pojo.TTrainer;
import com.esyoga.yoyoga.pojo.TTrainerExample;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface TTrainerMapper {
    long countByExample(TTrainerExample example);

    int deleteByExample(TTrainerExample example);

    int deleteByPrimaryKey(Integer tId);

    int insert(TTrainer record);

    int insertSelective(TTrainer record);

    List<TTrainer> selectByExample(TTrainerExample example);

    TTrainer selectByPrimaryKey(Integer tId);

    int updateByExampleSelective(@Param("record") TTrainer record, @Param("example") TTrainerExample example);

    int updateByExample(@Param("record") TTrainer record, @Param("example") TTrainerExample example);

    int updateByPrimaryKeySelective(TTrainer record);

    int updateByPrimaryKey(TTrainer record);
}